<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<TITLE>『后台管理平台』By ThinkPHP <?php echo (THINK_VERSION) ?></TITLE>
<link rel='stylesheet' type='text/css' href='/One/Tpl/default/Public/Css/style.css' />
<script type='text/javascript' src='/One/Tpl/default/Public/Js/Common.js'></script> 
<script type='text/javascript' src='/One/Tpl/default/Public/Js/Base.js'></script>  
<script type='text/javascript' src='/One/Tpl/default/Public/Js/prototype.js'></script>  
<script type='text/javascript' src='/One/Tpl/default/Public/Js/mootools.js'></script>  
<script type='text/javascript' src='/One/Tpl/default/Public/Js/Ajax/ThinkAjax.js'></script>  
<script type='text/javascript' src='/One/Tpl/default/Public/Js/Form/CheckForm.js'></script>  
<SCRIPT LANGUAGE="JavaScript">
<!--
//指定当前组模块URL地址 
var URL = '/Node';
var APP	 =	 '';
var PUBLIC = '/Public';
//ThinkAjax.debug = true;
ThinkAjax.updateTip = '<IMG SRC="/One/Tpl/default/Public/images/loading2.gif" WIDTH="16" HEIGHT="16" BORDER="0" ALT="loading..." align="absmiddle"> 数据处理中...';
//-->
</SCRIPT>
</HEAD>

<body>
<!-- 主体内容  -->
<div id="main" class="main" >
<div class="content" >
<div class="title"><?php if(isset($nodeName)): ?>[<?php echo ($nodeName) ?>]<?php endif; ?><?php if(($level)  ==  "1"): ?>项目<?php endif; ?><?php if(($level)  ==  "2"): ?>模块<?php endif; ?><?php if(($level)  ==  "3"): ?>操作<?php endif; ?>列表</div>
<!--  功能操作区域  -->
<div class="operate" width="100%">
<div class="impBtn hMargin fLeft shadow" ><input type="button" id="" name="add" value="新增" onclick="add()" class="add imgButton"></div>
<div class="impBtn hMargin fLeft shadow" ><input type="button" id="" name="edit" value="编辑" onclick="edit()" class="edit imgButton"></div>
<div class="impBtn hMargin fLeft shadow" ><input type="button" id="" name="delete" value="删除" onclick="del()" class="delete imgButton"></div>
<div class="impBtn hMargin fLeft shadow" ><input type="button" id="" name="sort" value="排序" onclick="location.href='/Node/sort/'" class="sort imgButton"></div>
</div>
<!-- 功能操作区域结束 -->
<p>&nbsp;</p>
<!-- 列表显示区域  -->
<div class="list" >
<div id="result" class="result none"></div><!-- Think 系统列表组件开始 -->
<table id="checkList" class="list" cellpadding=0 cellspacing=0 ><tr><td height="5" colspan="7" class="topTd" ></td></tr><tr class="row" ><th width="8"><input type="checkbox" id="check" onclick="CheckAll('checkList')"></th><th width="10%"><a href="javascript:sortBy('id','<?php echo ($sort) ?>','index')" title="按照编号<?php echo ($sortType) ?> ">编号<?php if(($order)  ==  "id"): ?><img src="/One/Tpl/default/Public/Images/<?php echo ($sortImg) ?>.gif" width="12" height="17" border="0" align="absmiddle"><?php endif; ?></a></th><th><a href="javascript:sortBy('name','<?php echo ($sort) ?>','index')" title="按照名称<?php echo ($sortType) ?> ">名称<?php if(($order)  ==  "name"): ?><img src="/One/Tpl/default/Public/Images/<?php echo ($sortImg) ?>.gif" width="12" height="17" border="0" align="absmiddle"><?php endif; ?></a></th><th><a href="javascript:sortBy('title','<?php echo ($sort) ?>','index')" title="按照显示名<?php echo ($sortType) ?> ">显示名<?php if(($order)  ==  "title"): ?><img src="/One/Tpl/default/Public/Images/<?php echo ($sortImg) ?>.gif" width="12" height="17" border="0" align="absmiddle"><?php endif; ?></a></th><th><a href="javascript:sortBy('remark','<?php echo ($sort) ?>','index')" title="按照说明<?php echo ($sortType) ?> ">说明<?php if(($order)  ==  "remark"): ?><img src="/One/Tpl/default/Public/Images/<?php echo ($sortImg) ?>.gif" width="12" height="17" border="0" align="absmiddle"><?php endif; ?></a></th><th><a href="javascript:sortBy('status','<?php echo ($sort) ?>','index')" title="按照状态<?php echo ($sortType) ?> ">状态<?php if(($order)  ==  "status"): ?><img src="/One/Tpl/default/Public/Images/<?php echo ($sortImg) ?>.gif" width="12" height="17" border="0" align="absmiddle"><?php endif; ?></a></th><th >操作</th></tr><?php if(is_array($list)): ?><?php $i = 0; ?><?php if( count($list)==0 ) : echo "" ; ?><?php else: ?><?php foreach($list as $key=>$node): ?><?php ++$i;?><?php $mod = (($i % 2 )==0)?><tr class="row" onmouseover="over()" onmouseout="out()" onclick="change()" ><td><input type="checkbox" name="key"	value="<?php echo (is_array($node)?$node["id"]:$node->id) ?>"></td><td><?php echo (is_array($node)?$node["id"]:$node->id) ?> </td><td><a href="javascript:child('<?php echo (is_array($node)?$node["id"]:$node->id) ?>')"><?php echo (is_array($node)?$node["name"]:$node->name) ?> </a></td><td><a href="javascript:edit('<?php echo (is_array($node)?$node["id"]:$node->id) ?>')"><?php echo (is_array($node)?$node["title"]:$node->title) ?> </a></td><td><?php echo (is_array($node)?$node["remark"]:$node->remark) ?> </td><td><?php echo (getStatus(is_array($node)?$node["status"]:$node->status)) ?> </td><td><a href="javascript:resume('<?php echo (is_array($node)?$node["id"]:$node->id) ?>')"><?php if(0== (is_array($node)?$node["status"]:$node->status)){ ?>恢复<?php } ?></a><a href="javascript:forbid(<?php echo (is_array($node)?$node["id"]:$node->id) ?>)"><?php if(1== (is_array($node)?$node["status"]:$node->status)){ ?>禁用<?php } ?></a> </td></tr><?php endforeach; ?><?php endif; ?><?php endif; ?><tr><td height="5" colspan="7" class="bottomTd"></td></tr></table>
<!-- Think 系统列表组件结束 -->
 
</div>
<!--  分页显示区域 -->
<div class="page"><?php echo ($page) ?></div>
<!-- 列表显示区域结束 -->
</div>
</div>
<!-- 主页面结束 -->
</BODY>
</HTML>